'use strict';
// Copyright 2014 Blueant Inc. All Rights Reserved.

/**
 * @fileoverview 全局BOSS信息
 * @author sundbcn@gmail.com (sun debing)
 */

var _ = require('lodash');
var mongoose = require('mongoose');

/**
 * 全局BOSS信息
 */
var bossSchema = new mongoose.Schema({
    // BossId
    boss_id: {
        type: Number,
        required: true,
    },

    // 刷新时间
    refresh_tm: {
        type: Number,
        default: 0
    },
});

mongoose.model('GlobalBoss', bossSchema);
